package com.iwdnb.gkgz.application.service;

import java.util.Date;
import java.util.List;

import com.iwdnb.gkgz.application.model.vo.RealtimeStockData;
import com.iwdnb.gkgz.common.model.dto.Stock;
import com.iwdnb.gkgz.common.model.dto.StockDayData;
import com.iwdnb.gkgz.application.model.vo.StockType;

/**
 * @author wbc
 * @date 2020/05/02
 **/
public interface StockDataSource {

    List<Stock> getOnlineStockList(int page, int pageSize, StockType type);

    Stock getStock(String code, StockType type);

    //    RealtimeStockData getRealTimeStockData(String code, StockType type);

    List<StockDayData> getStockDataByDate(String code, StockType type, Date startDate, Date endDate);

     RealtimeStockData getRealtimeData(String code, StockType type);

}
